package com.wing.auth.service;

import com.wing.auth.entity.response.GetTokenResponse;
import com.wing.auth.entity.response.TicketSendResponse;

/**
 * 畅捷通-应用授权
 */
public interface AuthService {

    /**
     * 立即触发appTicket推送，调用该接口后会向指定的appKey对应的消息接收地址推送appTicket消息
     *
     * @return
     */
    public TicketSendResponse appTicketSend();

    /**
     * 自建应用获取token
     *
     * @return
     */
    public GetTokenResponse getToken();
}
